import { DataTypes } from 'sequelize';
import sequelize from '../config/db.js';

const Post = sequelize.define('Post', {
  ID: {
    type: DataTypes.BIGINT,
    primaryKey: true,
    autoIncrement: true
  },
  post_title: {
    type: DataTypes.STRING(255),
    allowNull: false
  }
  // ... existing code ...
}, {
  tableName: 'wp_blog_posts',
  timestamps: true
});

export default Post;